﻿using _1._6._2015_EF_Pair.Data.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _1._6._2015_EF_Pair.Data
{
    public class PersonsDBContext : DbContext // This is our connection to the Db need prop for each Type (table) we have 
    {
        public PersonsDBContext() : base("DefaultConnection")
        {

        }
        public DbSet<Person> Persons { get; set; }

    }

   
}
